<!--{include manage_header}-->
<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li> <a href="/manage/system/index.php">系统设置</a></li>
    <li><a href="#">基本设置</a></li>
	<li style="float:right;  font-size:22px; ">
	 <a href="javascript::" style="padding-right:30px;color:#3B95C8;">
    <!--{if $_SESSION['ali_token']}-->${mb_strimwidth($login_user['realname'],0,10)}<!--{else}-->${mb_strimwidth($login_user['username'],0,10)}<!--{/if}-->
	</a> </li>
    </ul>
</div>
<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="partner">
	<!--<div class="dashboard" id="dashboard">
		<ul>${mcurrent_system('index')}</ul>
	</div>-->
	<div id="content" class="clear mainwide">
        <div class="clear box">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head" id="head">
					<!--<h2>基本设置</h2>-->
					<!--ul class="filter">${current_system_index($s)}</ul-->
					<ul>
			<li id="one1" onclick="setTab('one',1)">基本信息</li>
			<li id="one2" onclick="setTab('one',2)">邮费设置</li>
			<li id="one3" onclick="setTab('one',3)">杂项设置</li>
			<li id="one4" onclick="setTab('one',4)">客服信息</li>
			<li id="one5" onclick="setTab('one',5)">其他信息</li>
            <li id="one6" onclick="setTab('one',6)">推荐设置</li>
		</ul>
				</div>
                <div class="sect">
				
				<div id="con_one_1">
				
                    <form method="post">
						<div class="wholetip clear"><!--<h3>1、基本信息</h3>--></div>
                        <div class="field">
                            <label>网站名称</label>
                            <input type="text" size="30" name="system[sitename]" class="f-input f-hint" value="{$INI['system']['sitename']}"/>
						</div>
						<div class="field">
							<label>网站简称</label>
							<input type="text" size="30" name="system[abbreviation]" class="f-input f-hint" value="{$INI['system']['abbreviation']}"/>
						</div>
                        <div class="field">
                            <label>网站标题</label>
                            <input type="text" size="30" name="system[sitetitle]" class="f-input f-hint" value="{$INI['system']['sitetitle']}"/>
                        </div>
                        <div class="field">
							<label>网站描述</label>
							<input type="text" size="30" name="system[description]" class="f-input f-hint" value="{$INI['system']['description']}"/>
						</div>
						<div class="field">
							<label>网站关键词</label>
							<input type="text" size="30" name="system[keywords]" class="f-input f-hint" value="{$INI['system']['keywords']}"/>
						</div>
                        <div class="field">
                            <label>时区设置</label>
                            <select name="system[timezone]" style="width:160px;float:left;">${Utility::Option($option_timezone, $INI['system']['timezone'])}</select><span class="inputtip">中国大陆北京时间时区为：+08:00</span>
                        </div>
                        <div class="field">
                            <label>优惠券名</label>
                            <input type="text" size="30" name="system[couponname]" class="f-input f-hint" value="{$INI['system']['couponname']}"/>
                        </div>
                        <div class="field">
                            <label>货币符号</label>
                            <input type="text" size="30" name="system[currency]" class="number" value="{$INI['system']['currency']}"/>
						</div>
                        <div class="field">
                            <label>货币代码</label>
                            <input type="text" size="30" name="system[currencyname]" class="number" value="{$INI['system']['currencyname']}"/><span class="inputtip">如：CNY, USD 等</span>
						</div>
                        <div class="field">
                            <label>邀请返利</label>
                            <input type="text" size="30" name="system[invitecredit]" class="number" value="${abs(intval($INI['system']['invitecredit']))}"/>
							<span class="inputtip">单位：元</span>
						</div>
                        <div class="field">
                            <label>侧栏团购？</label>
                            <input type="text" size="30" name="system[sideteam]" class="number" value="${abs(intval($INI['system']['sideteam']))}"/>
							<span class="inputtip">侧栏团购数，默认为 0</span>
							<span class="hint">在团购页面的右侧栏显示当前正在进行的其他团购项目？</span>
						</div>
						
					</div>
					<div id="con_one_2" style="display:none;">
						
                        <div class="wholetip clear">
						  <!--<h3>2、邮费设置</h3>-->
						</div>
						<div class="field">
                            <label>优惠邮费数量</label>
                            <input type="text" size="30" name="system[farefree]" class="number" value="${abs(intval($INI['system']['farefree']))}"/>
							<span class="inputtip">所有购物车产品达到多少件开始优惠邮费</span>
						</div>						    
						<div class="field">
                            <label>快递方式1</label><input type="text" size="30" name="system[fare1name]" class="number" value="{$INI['system']['fare1name']}"/><label>快递费</label>
                            <input type="text" size="30" name="system[fare11]" class="number" value="${abs(intval($INI['system']['fare11']))}"/><label>优惠为</label>
                            <input type="text" size="30" name="system[fare12]" class="number" value="${abs(intval($INI['system']['fare12']))}"/>元
						</div>						    
						<div class="field">
                            <label>快递方式2</label><input type="text" size="30" name="system[fare2name]" class="number" value="{$INI['system']['fare2name']}"/><label>快递费</label>
                            <input type="text" size="30" name="system[fare21]" class="number" value="${abs(intval($INI['system']['fare21']))}"/><label>优惠为</label>
                            <input type="text" size="30" name="system[fare22]" class="number" value="${abs(intval($INI['system']['fare22']))}"/>元
						</div>	
						<div class="field">
                            <label>快递方式3</label><input type="text" size="30" name="system[fare3name]" class="number" value="{$INI['system']['fare3name']}"/><label>快递费</label>
                            <input type="text" size="30" name="system[fare31]" class="number" value="${abs(intval($INI['system']['fare31']))}"/><label>优惠为</label>
                            <input type="text" size="30" name="system[fare32]" class="number" value="${abs(intval($INI['system']['fare32']))}"/>元
						</div>	
						
						</div>
					<div id="con_one_3" style="display:none;">
						
						<div class="wholetip clear"><!--<h3>3、杂项设置</h3>--></div>
                        <div class="field">
                            <label>成团条件</label>
                            <input type="text" size="30" name="system[conduser]" class="number" value="${abs(intval($INI['system']['conduser']))}"/><span class="inputtip">1 以成功付款人数为限 0 以成交产品数量为限</span>
						</div>
                        <div class="field">
                            <label>优惠券下载</label>
                            <input type="text" size="30" name="system[partnerdown]" class="number" value="${abs(intval($INI['system']['partnerdown']))}"/><span class="inputtip">1 商户可下载编号及密码，0 商户仅可下载编号</span>
						</div>
                        <div class="field">
                            <label>压缩输出</label>
                            <input type="text" size="30" name="system[gzip]" class="number" value="${abs(intval($INI['system']['gzip']))}"/><span class="inputtip">1 压缩，0 不压缩</span>
							<span class="hint">压缩输出可以减少网络流量传输，并节省用户下载时间，但会稍微降低服务器性能</span>
						</div>
						
						</div>
					<div id="con_one_4" style="display:none;">
						
						<div class="wholetip clear"><!--<h3>3、客服信息</h3>--></div>
                        <div class="field">
                            <label>客服QQ</label>
                            <input type="text" size="30" name="system[kefuqq]" class="f-input f-hint" value="{$INI['system']['kefuqq']}"/><span class="inputtip">直接填写QQ号码,多个QQ号用逗号分开</span>
						</div>
                        <div class="field">
                            <label>客服电话</label>
                            <input type="text" size="30" name="system[kefumsn]" class="f-input f-hint" value="{$INI['system']['kefumsn']}"/><span class="inputtip">直接填写电话号码，多个电话可用逗号空格隔开多个帐户</span>
						</div>
						
						</div>
					<div id="con_one_5" style="display:none;">
						
						<div class="wholetip clear"><h3><!--4、其他信息</h3>--></div>
                        <div class="field">
                            <label>网站地址</label>
                            <input type="text" size="30" name="system[wwwprefix]" class="f-input f-hint" value="{$INI['system']['wwwprefix']}"/><span class="inputtip">形如：http://www.yourname.com </span>
						</div>
                        <div class="field">
                            <label>图片前缀</label>
                            <input type="text" size="30" name="system[imgprefix]" class="f-input f-hint" value="{$INI['system']['imgprefix']}"/><span class="inputtip">形如：http://p.yourname.com 可用于CDN</span>
						</div>
                        <div class="field">
                            <label>样式前缀</label>
                            <input type="text" size="30" name="system[cssprefix]" class="f-input f-hint" value="{$INI['system']['cssprefix']}"/><span class="inputtip">形如：http://s.yourname.com 可用于CDN</span>
						</div>
                        <div class="field">
                            <label>手机网址</label>
                            <input type="text" size="30" name="system[mobileurl]" class="f-input f-hint" value="{$INI['system']['mobileurl']}"/><span class="inputtip">形如：m.yourname.com 手机WAP访问地址</span>
						</div>
                        <div class="field">
                            <label>ICP编号</label>
                            <input type="text" size="30" name="system[icp]" class="f-input f-hint" value="{$INI['system']['icp']}"/>
						</div>
                        <div class="field">
                            <label>统计代码</label>
                            <input type="text" size="30" name="system[statcode]" class="f-input f-hint" value="${htmlspecialchars(stripslashes($INI['system']['statcode']))}"/>
						</div>
                        <div class="field">
                            <label>新浪微博</label>
                            <input type="text" size="30" name="system[sinajiwai]" class="f-input f-hint" value="${htmlspecialchars(stripslashes($INI['system']['sinajiwai']))}"/>
						</div>
                        <div class="field">
                            <label>腾讯微博</label>
                            <input type="text" size="30" name="system[tencentjiwai]" class="f-input f-hint" value="${htmlspecialchars(stripslashes($INI['system']['tencentjiwai']))}"/>
						</div>
                        <!--<div class="field">
                            <label>谷歌Apikey</label>
                            <input type="text" size="30" name="system[googlemap]" class="f-input f-hint" value="${htmlspecialchars(stripslashes($INI['system']['googlemap']))}" style="width:500px;"/><span class="inputtip">谷歌地图Apikey：<a href="http://code.google.com/intl/zh-CN/apis/maps/signup.html" target="_blank">立即申请</a></span>
						</div>-->
						
						</div>
						<div id="con_one_6" style="display:none;">
						
                            <div class="wholetip clear"><!--<h3>5、推荐设置</h3>--></div>
                            <div class="field">
                                <label style="width:150px;">推荐时效</label>
                                <input type="text" name="system[expire]" maxlength="150" size="10" value="${htmlspecialchars(stripslashes($INI['system']['expire']))}" style="vertical-align:middle;"/>
                                <select name="system[expire_unit]" style="vertical-align:middle;">
                                    <option value="hour" <!--{if $INI['system']['expire_unit']=='hour'}-->selected="selected"<!--{/if}-->>小时</option><option value="day" <!--{if $INI['system']['expire_unit']=='day'}-->selected="selected"<!--{/if}-->>天</option><option value="week" <!--{if $INI['system']['expire_unit']=='week'}-->selected="selected"<!--{/if}-->>周</option>
                                </select>
                                <span style=" line-height:30px; vertical-align:middle;">访问者点击某推荐人的网址后，在此时间段内注册、下单，均认为是该推荐人的所介绍的。</span> 
                            </div>
                            <div class="field">
                                <label style="width:150px;">现金分成总额百分比</label>
                                <input type="text" name="system[level_money_all]" maxlength="150" size="10" value="${htmlspecialchars(stripslashes($INI['system']['level_money_all']))}" style="vertical-align:middle;">
                                <span  style=" line-height:30px; vertical-align:middle;">订单金额的此百分比部分作为分成用金额。</span>
                            </div>
                            <div class="field">
                               <label style="width:150px;">推荐人现金分成百分比</label>
                               <input type="text" name="system[level1_money]" maxlength="150" size="10" value="${htmlspecialchars(stripslashes($INI['system']['level1_money']))}" style="vertical-align:middle;">
                                <span  style=" line-height:30px; vertical-align:middle;">1级推荐人所获得的现金分成百分比</span><br />
                                <input type="text" name="system[level2_money]" maxlength="150" size="10" value="${htmlspecialchars(stripslashes($INI['system']['level2_money']))}" style="vertical-align:middle; margin-left:170px;">
                                <span  style=" line-height:30px; vertical-align:middle;">2级推荐人所获得的现金分成百分比</span><br />
                                <input type="text" name="system[level3_money]" maxlength="150" size="10" value="${htmlspecialchars(stripslashes($INI['system']['level3_money']))}" style="vertical-align:middle; margin-left:170px;">
                                <span  style=" line-height:30px; vertical-align:middle;">3级推荐人所获得的现金分成百分比</span>
                            </div>
						</div>
						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include manage_footer}-->
